package com.bwie.common.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户团长佣金流水表
 * </p>
 *
 * @author liuxin
 * @since 2025-04-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_group_leader_commission_transactions")
@ApiModel(value="TGroupLeaderCommissionTransactions对象", description="用户团长佣金流水表")
public class GroupLeaderCommissionTransactions implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户团长佣金流水ID")
    @TableId(value = "commission_id", type = IdType.AUTO)
    private Long commissionId;

    @ApiModelProperty(value = "流水号")
    private String commissionNumber;

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "类型（0-充值，1-消费）")
    private Integer transactionType;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "逻辑删除（0-正常，1-删除）")
    private Integer isDeleted;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;


}
